<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>圆角边框</title>

    <style>
        div{
            width: 300px;
            height: 300px;
            background-color: pink;
        }

        .div1 {
            /* 设置圆角 */
            border-radius: 10px;
        }

        .div2 {
            border-radius: 50%;
        }

        .div3 {
            width: 300px;
            height: 100px;
            background-color: pink;
            border-radius: 50px;
        }
        .div4 {
            border-radius: 10px 20px 30px 40px;
            /* border-radius: 10px 40px; */
            /* border-radius: 20px 30px 40px; */
        }
    </style>

</head>
<body>

    <img src="圆角边框.png" alt="">
    <br><br>
    
    <div class="div1">10px圆角border-radius: 10px;</div>
    <br><br>
    <div class="div2">圆形border-radius: 50%;</div>
    <br><br>
    <div class="div3">圆角矩形border-radius: 50px;</div>
    <br><br>
    <div class="div4">设置不同的圆角</div>

</body>
</html>